package com.cqq.print.base.controller;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.cqq.common.core.base.BaseController;

/**
 * 2015/06/25
 *
 * @author chenqq
 */
@Controller(value = "pContactController")
@RequestMapping(value = { "contactMange" }, method = {
		RequestMethod.POST,
		RequestMethod.GET })
public class PContactController extends BaseController{

	@RequestMapping(value = { "list" }, method = {
			RequestMethod.GET,
			RequestMethod.POST })
	public String toList(HttpServletRequest request, ModelMap out) {

		return "pcontact/pcontact";
		
	}
	
	@RequestMapping(value = { "listAjax" }, method = {
			RequestMethod.GET,
			RequestMethod.POST })
	public String toListAjax(HttpServletRequest request, ModelMap out) {

		return "pcontact/pcontact";
		
	}
	
}
